package com.virtualperson.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
@Tag(name = "首页", description = "提供首页访问")
public class HomeController {

    @Operation(
        summary = "首页",
        description = "返回虚拟人物服务平台首页"
    )
    @GetMapping("/")
    public String home() {
        return "index";
    }
    

    @Operation(
            summary = "AI聊天页面",
            description = "返回AI聊天页面"
    )
    @GetMapping("/ai-chat")
    public String aiChat() {
        return "ai-chat";
    }

    @Operation(
            summary = "视频合成页面",
            description = "返回视频合成页面"
    )
    @GetMapping("/video")
    public String videoPage() {
        return "video";
    }

    @GetMapping("/tts")
    public String ttsPage() {
        return "tts";
    }

    @GetMapping("/file-upload")
    public String fileUploadPage() {
        return "file-upload";
    }
} 